/*
 * @Author: ReinerLau lk850593913@gmail.com
 * @Date: 2022-09-21 15:19:22
 * @LastEditors: ReinerLau lk850593913@gmail.com
 * @LastEditTime: 2022-09-21 17:29:14
 * @FilePath: \robot\src\api\cruise.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "@/utils/request";

export function patrolingSetMode(code, data) {
  return request({
    url: "/robot-cruise/PatrolingSetMode/" + code,
    method: "post",
    data: data,
  });
}

export function patrolingControl(code, data) {
  return request({
    url: "/robot-cruise/PatrolingControl/" + code,
    method: "post",
    data: data,
  });
}
